"use client";
import { NextSeo } from "next-seo";
import Head from "next/head";

export const NextSEO = ({ title, desc }: Partial<Record<string, string>>) => {
    return (
        <>
            <NextSeo
                title={title || "TITLE"}
                description={
                    desc ||
                    " Next.js + TypeScript + Three + CSS-In-JS"
                }
            ></NextSeo>
            {/* <Head>
                <link
                    rel="icon"
                    href="/favicon.ico"
                ></link>
            </Head> */}
        </>
    );
};
